<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/9/14
  Time: 9:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>ERP系统 - 房屋信息更新</title>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/static/css/main.css">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/static/lib/font-awesome/css/font-awesome.css">
</head>
<body>
<div class="box">
    <h3>修改房屋信息</h3>
    <form action="editHouse2" method="post">
        <table class="form-table">
            <tr>
                <td>序号</td>
                <td colspan="3" class="control">
                    <input type="text" name="hId" readonly="readonly" value="${house.hId}">
                </td>
            </tr>
            <tr>
                <td>地区</td>
                <td colspan="3" class="control">
                    <input type="text" name="hArea" placeholder="填写地区" value="${house.hArea}">
                </td>
            </tr>
            <tr>
                <td>小区名字</td>
                <td colspan="3" class="control">
                    <input type="text" name="hEstate" placeholder="小区名字" value="${house.hEstate}">
                </td>
            </tr>
            <tr>
                <td>单元号</td>
                <td colspan="3" class="control">
                    <input type="text" name="hUnitnumber" placeholder="单元号" value="${house.hUnitnumber}">
                </td>
            </tr>
            <tr>
                <td>楼层</td>
                <td colspan="3" class="control">
                    <input type="text" name="hFloor" placeholder="楼层" value="${house.hFloor}">
                </td>
            </tr>
            <tr>
                <td>房间号</td>
                <td colspan="3" class="control">
                    <input type="text" name="hRoomno" placeholder="房间号" value="${house.hRoomno}">
                </td>
            </tr>
            <tr>
                <td>面积（平米）</td>
                <td colspan="3" class="control">
                    <input type="text" name="hAcreage" placeholder="面积" value="${house.hAcreage}">
                </td>
            </tr>
            <tr>
                <td>朝向(请输入有效方向)</td>
                <td colspan="3" class="control">
                    <input type="text" name="hDirection" placeholder="朝向" value="${house.hDirection}">
                </td>
            </tr>
            <tr>
                <td>装修</td>
                <td colspan="3" class="control">
                    <select name="hFitment" >
                        <option value="${house.hFitment="精装房"}">精装房</option>
                        <option value="${house.hFitment="简装"}" selected>简装</option>

                    </select>
                </td>
            </tr>
            <tr>
                <td>是否双气</td>
                <td colspan="3" class="control">
                    <select name="hIsdoubleair" >
                        <option value="${house.hIsdoubleair=true}">是</option>
                        <option value="${house.hIsdoubleair=false}" selected>否</option>

                    </select>
                </td>
            </tr>
            <tr>
                <td>限住人数(请输入有效数字)</td>
                <td colspan="3" class="control">
                    <input type="text"  name="hLimit" placeholder="限住人数" value="${house.hLimit}">
                </td>
            </tr>
            <tr>
                <td>配套设施</td>
                <td colspan="3" class="control">
                    <input type="text" name="hFacility" placeholder="配套设施" value="${house.hFacility}">
                </td>
            </tr>
            <tr>
                <td>出租价格（元/月）</td>
                <td colspan="3" class="control">
                    <input type="text" name="hPrice" placeholder="出租价格" value="${house.hPrice}">
                </td>
            </tr>
            <tr>
                <td>出租状态</td>
                <td colspan="3" class="control">
                    <select name="hStatus" >
                        <option value="${house.hStatus=1}">已出租</option>
                        <option value="${house.hStatus=0}" selected>禁止出租</option>
                        <option value="${house.hStatus=2}">未出租</option>
                    </select>
                </td>
            </tr>

            <tr>
                <td>完整地址信息</td>
                <td colspan="3" class="control">
                    <input type="text" name="hAddress" placeholder="完整地址信息" value="${house.hAddress}">
                </td>
            </tr>
            <tr>
                <td>添加时间</td>
                <td colspan="3" class="control">
                    <input type="text" readonly="readonly" name="Address" placeholder="添加时间" value="${house.hAddtime}">
                </td>
            </tr>
            <tr>
                <td>更新时间</td>
                <td colspan="3" class="control">
                    <input type="date"  name="updatatime"  value="${house.hUpdatetime}">
                </td>
            </tr>
            <tr>
                <td>备注说明</td>
                <td colspan="3" class="control">
                    <textarea class="p100" name="hcomment" placeholder="备注说明信息">房屋备注说明信息</textarea>
                </td>
            </tr>
        </table>
        <div class="buttons">
            <input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
            <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
        </div>
    </form>
</div>
</body>
</html>
